package member;

import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable
public class Member {
	@PrimaryKey
	private String memId;
	
	@Persistent
	private String pwd;
	
	@Persistent
	private String memName;
	
	@Persistent
	private String memEmail;
	
	public Member(String id,String pwd,String name,String email){
		this.memId = id;
		this.pwd = pwd;
		this.memName = name;
		this.memEmail = email;
	}
	
	public Member(){
		this.memId = "NA";
		this.pwd = "NA";
		this.memName = "NA";
		this.memEmail = "NA";
	}
	
	public String getId(){
		return memId;
	}
	
	public String getPwd(){
		return pwd;
	}
	
	public String getName(){
		return memName;
	}
	
	public String getEmail(){
		return memEmail;
	}
	
	public void setPwd(String pwd){
		this.pwd = pwd;
	}
	
	public void setName(String name){
		this.memName = name;
	}
	
	public void setEmail(String email){
		this.memEmail = email;
	}
}
